﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace LED_Tester
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());
        }

        public class MyContext : SplashScreenApplicationContext
        {
            protected override void onCreateSplashScreenForm()
            {
                this.FrmSplashScreen = new frmSplashScreen();//启动窗体 
            }

            protected override void onCreateMainForm()
            {
                this.FrmMain = new frmMain();//主窗体 
            }

            protected override void setTimeValue()
            {
                this.TimeValue = 2;//启动窗体显示的时间(秒) 
            }
        } 
    }
}
